package com.atguigu.day20.syn01.smethod1;

//todo 张三线程
public class ZsThread extends Thread {
    private Account account;
    public ZsThread(Account account) {
        this.account = account;
    }
    @Override
    public void run() {
        account. takeMoney();
    }
}
